Kristian Rietveld [Sun, 16 Nov 2003 23:20:23 +0000 (23:20 +0000)]
grrrr. broken pipe.
Kristian Rietveld [Sun, 16 Nov 2003 23:20:15 +0000 (23:20 +0000)]
Fixes #124373, Murray Cumming.
Mon Nov 17 00:11:21 2003 Kristian Rietveld <kris@gtk.org>
Fixes #124373, Murray Cumming.
* gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property
is no longer construct only,
(gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal),
(gtk_combo_box_menu_fill): new functions,
(gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy),
(gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup),
(gtk_combo_box_list_destroy): updated,
(gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed
functions,
(gtk_combo_box_set_model): is now public, updated,
(gtk_combo_box_get_model): small update.
* gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the
text_column property is no longer construct only,
(gtk_combo_box_entry_set_text_column): now public,
(gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model):
new/changed functions.
* tests/testcombo.c: updated.
Matthias Clasen [Sun, 16 Nov 2003 21:54:37 +0000 (21:54 +0000)]
Reinstate fixes for (#124212, Marco Pesenti Gritti):
Sun Nov 16 22:50:58 2003 Matthias Clasen <maclas@gmx.de>
Reinstate fixes for (#124212, Marco Pesenti Gritti):
* gtk/gtkuimanager.c (update_smart_separators): Don't spit
warnings for popups.
(_gtk_menu_is_empty): Return FALSE for non-menus.
Kristian Rietveld [Sun, 16 Nov 2003 20:53:07 +0000 (20:53 +0000)]
just call gtk_cell_view_cell_layout_clear instead of trying to free the
Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellview.c (gtk_cell_view_finalize): just call
gtk_cell_view_cell_layout_clear instead of trying to free the
structure ourselves here. (#125726, Morten Welinder).
Matthias Clasen [Sat, 15 Nov 2003 23:44:33 +0000 (23:44 +0000)]
Fix parameter name mismatches which confuse gtk-doc.
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooser.[hc]:
* gtk/gtkentrycompletion.h: Fix parameter name mismatches which
confuse gtk-doc.
Sun Nov 16 00:41:48 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Remove gtk_tool_item_[sg]et_pack_end.
Sun Nov 16 00:32:18 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Move GtkFileChooser out of the
private section, in order to get the autogenerated docs
on hierarchy, signals, properties, etc.
Hans Breuer [Sat, 15 Nov 2003 20:35:55 +0000 (20:35 +0000)]
updated added all the new tests
2003-11-15 Hans Breuer <hans@breuer.org>
* gdk/makefile.msc gdk/gdk.def
gtk/gtk.def gtk/makefile.msc.in : updated
* tests/makefile.msc : added all the new tests
* gtk/gtkfilefilter.c(finalize) : initialize filter
from object not from itself
* gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc]
modified as less as posible to have aworking implementation
on win32. There maybe the desire to merge the unchanged pats into
a common base class.
Also implemented a simple glib based bookmark handling, which
is currently missing in gtkfilesystemunix.[hc] but can be copied
over there.
* gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h
* gdk/win32/gdkwindow-win32.c : implement
gdk_window_set_keep_above() and gdk_window_set_keep_below()
* tests/testmerge.c : don't include unistd.h unconditionally,
#define STDOUT_FILENO if it isn't defined
* tests/testfilechooser.c : make it compile on win32
Artur Flinta [Sat, 15 Nov 2003 14:33:40 +0000 (14:33 +0000)]
Updated Polish translation
Tor Lillqvist [Sat, 15 Nov 2003 04:22:16 +0000 (04:22 +0000)]
If the window is maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
2003-11-15 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
Matthias Clasen [Fri, 14 Nov 2003 23:28:01 +0000 (23:28 +0000)]
Check that the mask is NULL or a string of the same length consisting
Sat Nov 15 00:26:19 2003 Matthias Clasen <maclas@gmx.de>
* queryloaders.c (loader_sanity_check): Check that the mask
is NULL or a string of the same length consisting entirely of
' ', '!', 'x', 'z', 'n'.
cinamod [Fri, 14 Nov 2003 17:51:31 +0000 (17:51 +0000)]
fix background colors for brick
Danilo Šegan [Thu, 13 Nov 2003 23:25:44 +0000 (23:25 +0000)]
Updated Serbian translation.
2003-11-14 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Vincent van Adrighem [Thu, 13 Nov 2003 18:19:11 +0000 (18:19 +0000)]
Dutch translation updated by Tino Meinen.
2003-11-13 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Tino Meinen.
Jordi Mallach [Thu, 13 Nov 2003 14:22:49 +0000 (14:22 +0000)]
Updated Catalan translation.
GMT 2003 Tony Gale [Thu, 13 Nov 2003 12:56:25 +0000 (12:56 +0000)]
Update the rest of Section 2
Thu Nov 13 12:55:29 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Update the rest of Section 2
Matthias Clasen [Thu, 13 Nov 2003 00:48:03 +0000 (00:48 +0000)]
Use GTK_DATADIR/{icons,pixmaps} instead of
Thu Nov 13 01:46:32 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c (gtk_icon_theme_init): Use
GTK_DATADIR/{icons,pixmaps} instead of
GTK_DATA_PREFIX/{icons,pixmaps}. (#123365, Marco Pesenti Gritti)
Matthias Clasen [Wed, 12 Nov 2003 22:49:02 +0000 (22:49 +0000)]
Use the event window of the menuitem to determine the monitor. This fixes
* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Use the event
window of the menuitem to determine the monitor. This fixes some
Matthias Clasen [Wed, 12 Nov 2003 20:53:03 +0000 (20:53 +0000)]
Changes to improve menu positioning on Xinerama (#108328):
Wed Nov 12 21:40:10 2003 Matthias Clasen <maclas@gmx.de>
Changes to improve menu positioning on Xinerama (#108328):
* gtk/gtkmenu.c (struct _GtkMenuPrivate): Add a menu_num field
to store the monitor on which the menu is to be positioned.
* gtk/gtkmenu.[hc] (gtk_menu_position): Store the monitor number
in the GtkMenuPrivate struct and fetch the monitor geometry after
calling the position_func, in case it has been changed.
* gtk/gtkmenu.c (gtk_menu_set_monitor): New function
to be used in GtkMenuPositionFunc implementations for setting
the monitor_num field in GtkMenuPrivate.
* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Call
gtk_menu_set_monitor.
Matthias Clasen [Wed, 12 Nov 2003 20:01:26 +0000 (20:01 +0000)]
Clarify the label for the empty list. String change. (#95446, Tomas
Wed Nov 12 21:00:10 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkinputdialog.c (gtk_input_dialog_init): Clarify the
label for the empty list. String change. (#95446, Tomas Ögren)
Matthias Clasen [Wed, 12 Nov 2003 19:58:43 +0000 (19:58 +0000)]
Correct the definition of the values. (#123361, Marco Pesenti Gritti)
Wed Nov 12 20:57:50 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.h (enum GtkIconLookupFlags): Correct
the definition of the values. (#123361, Marco Pesenti Gritti)
Matthias Clasen [Wed, 12 Nov 2003 19:55:46 +0000 (19:55 +0000)]
Map KP_Separator to ','. (#122941, Egmont Koblinger)
Wed Nov 12 20:54:02 2003 Matthias Clasen <maclas@gmx.de>
* gdk/gdkkeyuni.c: Map KP_Separator to ','.
(#122941, Egmont Koblinger)
Åsmund Skjæveland [Wed, 12 Nov 2003 10:21:57 +0000 (10:21 +0000)]
Updated Norwegian Nynorsk translation.
2003-11-12 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Padraig O'Briain [Wed, 12 Nov 2003 09:22:48 +0000 (09:22 +0000)]
*gtk/gtkcolorsel.c (gtk_color_selection_init): Add tooltip for opacity
2003-11-12 Padraig O'Briain <padraig.obriain@sun.com>
*gtk/gtkcolorsel.c (gtk_color_selection_init): Add tooltip for
opacity entry widget. Change tooltip for opacity widgets. (#126426)
Padraig O'Briain [Wed, 12 Nov 2003 09:09:25 +0000 (09:09 +0000)]
Do not let pointer position affect window menu position when popped from
2003-11-12 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkmenu.c (gtk_menu_popup): Do not let pointer position
affect window menu position when popped from keyboard. (#102660)
Soeren Sandmann [Wed, 12 Nov 2003 00:37:02 +0000 (00:37 +0000)]
When we are using the old API, make all items "is_important". That way
Wed Nov 12 01:29:32 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
are using the old API, make all items "is_important". That way
BOTH_HORIZ will continue to show both icon and label in old API
mode.
Pablo Gonzalo del Campo [Tue, 11 Nov 2003 20:07:01 +0000 (20:07 +0000)]
Updated Spanish translation by Francisco Javier F. Serrador
2003-11-11 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
Pablo Gonzalo del Campo [Mon, 10 Nov 2003 18:53:57 +0000 (18:53 +0000)]
Updated Spanish translation by Francisco Javier F. Serrador
2003-11-10 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
Matthias Clasen [Sun, 9 Nov 2003 23:41:15 +0000 (23:41 +0000)]
Remember the new value in all cases. (#126276, Damon Chaplin)
Mon Nov 10 00:40:41 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkeventbox.c (gtk_event_box_set_above_child):
Remember the new value in all cases. (#126276, Damon Chaplin)
Matthias Clasen [Sun, 9 Nov 2003 23:18:44 +0000 (23:18 +0000)]
Typo fix.
Matthias Clasen [Sun, 9 Nov 2003 22:08:33 +0000 (22:08 +0000)]
If neither load nor begin_load are available fall back to load_animation
Sun Nov 9 23:07:05 2003 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): If neither
load nor begin_load are available fall back to load_animation
and use gdk_pixbuf_animation_get_static_image() to obtain a
pixbuf. Inefficient, but at least doesn't crash.
Matthias Clasen [Sun, 9 Nov 2003 21:07:31 +0000 (21:07 +0000)]
New function to write out the information for a single loader, factored
Sun Nov 9 21:56:20 2003 Matthias Clasen <maclas@gmx.de>
* queryloaders.c (write_loader_info): New function to write
out the information for a single loader, factored out of
query_module().
(loader_sanity_check): New function to perform
sanity checks on a loader.
(query_module): Use the new functions.
Hasbullah Bin Pit [Sun, 9 Nov 2003 18:40:02 +0000 (18:40 +0000)]
minor fix
Hasbullah Bin Pit [Sun, 9 Nov 2003 14:49:40 +0000 (14:49 +0000)]
Updated Malay translation.
2003-11-09 Hasbullah Bin Pit <sebol@ikhlas.com>
* ms.po: Updated Malay translation.
Matthias Clasen [Sat, 8 Nov 2003 22:08:05 +0000 (22:08 +0000)]
Call the do_ functions with the toplevel as argument.
Sat Nov 8 23:06:02 2003 Matthias Clasen <maclas@gmx.de>
* demos/gtk-demo/main.c (row_activated_cb): Call the do_
functions with the toplevel as argument.
* demos/gtk-demo/geninclude.pl.in: Change the signature
of GDoDemoFunc to take a widget argument
* demos/gtk-demo/ui_manager.c (do_ui_manager):
* demos/gtk-demo/tree_store.c (do_tree_store):
* demos/gtk-demo/textview.c (do_textview):
* demos/gtk-demo/stock_browser.c (do_stock_browser):
* demos/gtk-demo/sizegroup.c (do_sizegroup):
* demos/gtk-demo/pixbufs.c (do_pixbufs):
* demos/gtk-demo/panes.c (do_panes):
* demos/gtk-demo/menus.c (do_menus):
* demos/gtk-demo/list_store.c (do_list_store):
* demos/gtk-demo/images.c (do_images):
* demos/gtk-demo/hypertext.c (do_hypertext):
* demos/gtk-demo/editable_cells.c (do_editable_cells):
* demos/gtk-demo/drawingarea.c (do_drawingarea):
* demos/gtk-demo/dialog.c (do_dialog):
* demos/gtk-demo/colorsel.c (do_colorsel):
* demos/gtk-demo/changedisplay.c (do_changedisplay):
* demos/gtk-demo/button_box.c (do_button_box):
* demos/gtk-demo/appwindow.c (do_appwindow): Take a widget
as argument, and make new windows or dialogs appear on the
same screen. (#80388)
Matthias Clasen [Sat, 8 Nov 2003 21:01:14 +0000 (21:01 +0000)]
Let visible-window default to TRUE, as documented and implemented.
Sat Nov 8 21:59:30 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkeventbox.c (gtk_event_box_class_init): Let
visible-window default to TRUE, as documented and
implemented. (#126270 Damon Chaplin)
Matthias Clasen [Sat, 8 Nov 2003 00:51:10 +0000 (00:51 +0000)]
Mark as 2.4 additions.
Sat Nov 8 01:50:17 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c:
* gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new):
* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new):
* gtk/gtkfilechooser.c (gtk_file_chooser_[un]select_all): Mark as
2.4 additions.
Federico Mena Quintero [Fri, 7 Nov 2003 23:10:19 +0000 (23:10 +0000)]
Changing GtkFileChooserEntry to use GtkEntryCompletion.
2003-11-07 Federico Mena Quintero <federico@ximian.com>
Changing GtkFileChooserEntry to use GtkEntryCompletion.
* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): Create
a GtkListStore for the completion list. Create a
GtkEntryCompletion and attach it to the chooser entry.
(gtk_file_chooser_entry_finalize): Unref the completion store.
(completion_match_func): New callback for the GtkEntryCompletion.
(completion_idle_callback): Fill the completion store with filenames.
Matthias Clasen [Fri, 7 Nov 2003 21:57:20 +0000 (21:57 +0000)]
Make string setters safe for self-assignment. (#122745, Soeren Sandmann)
Fri Nov 7 22:55:49 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwindow.c (gtk_window_set_role):
* gtk/gtkwindow.c (gtk_window_set_title):
* gtk/gtkwidget.c (gtk_widget_set_name):
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_title):
* gtk/gtkbutton.c (gtk_button_set_label): Make string setters
safe for self-assignment. (#122745, Soeren Sandmann)
Dafydd Harries [Fri, 7 Nov 2003 17:04:40 +0000 (17:04 +0000)]
Translation ported from gnome-2-4 branch. Go iawn. Blydi cnaf CVS.
Matthias Clasen [Thu, 6 Nov 2003 19:42:39 +0000 (19:42 +0000)]
Fix doc comment. (#126369, Olexiy Avramchenko)
Thu Nov 6 20:41:40 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkstyle.c (gtk_style_attach): Fix doc comment.
(#126369, Olexiy Avramchenko)
Danilo Šegan [Thu, 6 Nov 2003 12:04:09 +0000 (12:04 +0000)]
Updated Serbian translation.
2003-11-06 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Matthias Clasen [Wed, 5 Nov 2003 23:28:53 +0000 (23:28 +0000)]
Fold two similar strings into on. (#126204, Danilo Segan)
Thu Nov 6 00:27:27 2003 Matthias Clasen <maclas@gmx.de>
* io-pcx.c (gdk_pixbuf__pcx_load_increment): Fold two similar
strings into on. (#126204, Danilo Segan)
Matthias Clasen [Wed, 5 Nov 2003 23:23:05 +0000 (23:23 +0000)]
Improve the consistency of titles. (#126193, Damon Chaplin)
Thu Nov 6 00:21:41 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorbutton.c (gtk_color_button_init):
* gtk/gtkfontbutton.c (gtk_font_button_init): Improve the
consistency of titles. (#126193, Damon Chaplin)
Matthias Clasen [Wed, 5 Nov 2003 21:50:51 +0000 (21:50 +0000)]
Set torn off menus to be transient for the toplevel they were torn off
Wed Nov 5 22:49:36 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Set torn off
menus to be transient for the toplevel they were torn off from.
(gtk_menu_get_toplevel): Auxiliary function to find the
toplevel of a menu. (#54775, Jon-Kare Hellan)
cinamod [Wed, 5 Nov 2003 21:19:13 +0000 (21:19 +0000)]
fix icon sizes
Matthias Clasen [Wed, 5 Nov 2003 20:15:19 +0000 (20:15 +0000)]
Add readonly properties min-position and max-position. (#58431, Padraig
Wed Nov 5 21:07:58 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkpaned.c (gtk_paned_class_init): Add readonly properties
min-position and max-position. (#58431, Padraig O'Briain)
Matthias Clasen [Wed, 5 Nov 2003 20:05:47 +0000 (20:05 +0000)]
Change the ranges for Saturation and Value to be 0-100 instead of 0-255,
Wed Nov 5 21:02:26 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorsel.c (update_color):
(make_label_spinbutton):
(adjustment_changed): Change the ranges for Saturation and
Value to be 0-100 instead of 0-255, since these axes of HSV
are usually expressed in percent. (#121519, Gregory Merchan)
Wed Nov 5 21:02:26 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorsel.c (update_color):
(make_label_spinbutton):
(adjustment_changed): Change the ranges for Saturation and
Value to be 0-100 instead of 0-255, since these axes of HSV
are usually expressed in percent. (#121519, Gregory Merchan)
cinamod [Wed, 5 Nov 2003 17:47:36 +0000 (17:47 +0000)]
menubars now have shadow=NONE
cinamod [Wed, 5 Nov 2003 15:10:27 +0000 (15:10 +0000)]
scrollbar steppers are now ETCHED_IN
GMT 2003 Tony Gale [Wed, 5 Nov 2003 08:53:07 +0000 (08:53 +0000)]
More 2.x updates
Wed Nov 5 08:51:48 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: More 2.x updates
cinamod [Tue, 4 Nov 2003 21:59:26 +0000 (21:59 +0000)]
win32 color scheme work
Dafydd Harries [Tue, 4 Nov 2003 19:01:30 +0000 (19:01 +0000)]
Translation ported from gnome-2-4 branch.
Danilo Šegan [Tue, 4 Nov 2003 16:46:30 +0000 (16:46 +0000)]
Updated Serbian translation.
2003-11-04 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
GMT 2003 Tony Gale [Tue, 4 Nov 2003 15:02:56 +0000 (15:02 +0000)]
More 2.x updates, fix pkg-config command error, update copyright.
Tue Nov 4 15:00:33 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: More 2.x updates, fix
pkg-config command error, update copyright.
Christian Rose [Tue, 4 Nov 2003 13:10:48 +0000 (13:10 +0000)]
Added missing files. Updated Swedish translation.
2003-11-04 Christian Rose <menthos@menthos.com>
* POTFILES.in: Added missing files.
* sv.po: Updated Swedish translation.
Federico Mena Quintero [Tue, 4 Nov 2003 01:56:56 +0000 (01:56 +0000)]
Take in a path as well. Use a helper function. (shortcuts_append_home):
2003-11-03 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (error_dialog): Take in a path as
well. Use a helper function.
(shortcuts_append_home): Display an error box if necessary.
(shortcuts_append_desktop): Likewise.
(add_bookmark_button_clicked_cb): Likewise.
(gtk_file_chooser_default_select_path): Likewise.
(entry_activate): Likewise.
(shortcuts_append_paths): New helper function.
(shortcuts_append_file_system_roots): Use
shortcuts_append_paths().
(shortcuts_append_bookmarks): Likewise.
Vincent van Adrighem [Mon, 3 Nov 2003 23:15:02 +0000 (23:15 +0000)]
Dutch translation updated by Tino Meinen.
2003-11-04 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Tino Meinen.
Matthias Clasen [Mon, 3 Nov 2003 22:13:24 +0000 (22:13 +0000)]
Some leftover cleanups.
Matthias Clasen [Mon, 3 Nov 2003 21:46:51 +0000 (21:46 +0000)]
Add G_BEGIN_DECLS/G_END_DECLS to make these usable in C++. Forgot this
Mon Nov 3 22:45:58 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwindow-decorate.h: Add G_BEGIN_DECLS/G_END_DECLS to make
these usable in C++. Forgot this file in my Oct 11 commit.
Matthias Clasen [Mon, 3 Nov 2003 21:44:23 +0000 (21:44 +0000)]
Add gtk/gtkactiongroup.c
Mon Nov 3 22:41:08 2003 Matthias Clasen <maclas@gmx.de>
* POTFILES.in: Add gtk/gtkactiongroup.c
Federico Mena Quintero [Mon, 3 Nov 2003 20:46:16 +0000 (20:46 +0000)]
Added gtkfilechooser.c, gtkfilechooserdefault.c, gtkfilesystemmodel.c,
2003-11-03 Federico Mena Quintero <federico@ximian.com>
* POTFILES.in: Added gtkfilechooser.c, gtkfilechooserdefault.c,
gtkfilesystemmodel.c, gtkfilesystemunix.c.
Federico Mena Quintero [Mon, 3 Nov 2003 20:24:04 +0000 (20:24 +0000)]
Add a stock icon to the "Add bookmark" button.
2003-11-03 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Add a stock
icon to the "Add bookmark" button.
* gtk/gtkfilesystemunix.c: Mark missing strings for translation.
* gtk/gtkfilesystemmodel.c: Likewise.
* gtk/gtkfilechooser.c: Likewise.
* gtk/gtkfilechooserdefault.c: Likewise.
Mon Nov 3 20:56:28 2003 Matthias Clasen <maclas@gmx.de>
Matthias Clasen [Mon, 3 Nov 2003 20:10:34 +0000 (20:10 +0000)]
Introduce a GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2
Mon Nov 3 20:56:28 2003 Matthias Clasen <maclas@gmx.de>
* gdk/gdk.c:
* gdk/gdkinternals.h:
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): Introduce a
GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2
Xinerama mode when no actual Xinerama setup is found.
Owen Taylor [Mon, 3 Nov 2003 19:41:03 +0000 (19:41 +0000)]
Fix a residual call to gtk_window_get_private().
Sat Nov 1 12:41:04 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_unfullscreen): Fix a
residual call to gtk_window_get_private().
Federico Mena Quintero [Mon, 3 Nov 2003 18:46:18 +0000 (18:46 +0000)]
Removed. (create_shortcuts_tree): Don't call the above.
2003-11-03 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (shortcuts_select_folder): Removed.
(create_shortcuts_tree): Don't call the above.
(bookmarks_changed_cb): Likewise.
(tree_selection_changed): Unselect everything from the shortcuts
list. This is the behavior that Mac OS has.
(toolbar_add_item): Return the item.
(toolbar_create): Store the up_button in the impl structure.
(toolbar_check_sensitivity): New function to set the sensitivity
of the "Up" button in the toolbar.
(tree_selection_changed): Call toolbar_check_sensitivity().
Federico Mena Quintero [Mon, 3 Nov 2003 00:50:33 +0000 (00:50 +0000)]
Do not set a border width for the toplevel container. (toolbar_create):
2003-11-02 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Do
not set a border width for the toplevel container.
(toolbar_create): New function; create a simple toolbar for the
file chooser.
(gtk_file_chooser_default_constructor): Use a spacing of 12 for
the table, as per the HIG.
(gtk_file_chooser_default_init): Likewise, for the default
implementation's vbox.
* gtk/gtkfilesystem.c (gtk_file_system_get_parent): Added docs to
note that NULL is a valid return value for the parent path.
Kostas Papadimas [Sun, 2 Nov 2003 16:24:31 +0000 (16:24 +0000)]
Updated the Greek translation
Åsmund Skjæveland [Sun, 2 Nov 2003 11:14:40 +0000 (11:14 +0000)]
Updated Norwegian Nynorsk translation.
2003-11-02 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Owen Taylor [Sat, 1 Nov 2003 20:17:37 +0000 (20:17 +0000)]
Change on activation, not selection change (temporary workaround for
Sat Nov 1 14:59:27 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_row_activated):
Change on activation, not selection change (temporary
workaround for #125955, needed for keynav, likely
the right UI anyways.)
* gtk/gtkfilechooserdefault.c (shortcuts_select_func):
Don't allow the separator node to be selected.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_constructor):
Set the focus chain so that the entry gets focused first.
(Not really right after initial focusing, maybe we
should just have a gtk_file_chooser_focus_entry() that
we call from gtk_file_chooser_dialog on creation.)
Raymond Penners [Sat, 1 Nov 2003 15:28:25 +0000 (15:28 +0000)]
scrollbar grippers
Christian Neumair [Fri, 31 Oct 2003 11:09:48 +0000 (11:09 +0000)]
Updated German translation.
Kjartan Maraas [Fri, 31 Oct 2003 09:17:10 +0000 (09:17 +0000)]
Update Norwegian translation.
2003-10-31 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Update Norwegian translation.
Soeren Sandmann [Fri, 31 Oct 2003 02:10:03 +0000 (02:10 +0000)]
delete this function (toolbar_item_is_homogeneous): cache
Fri Oct 31 02:43:34 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (get_item_requisition): delete this function
(toolbar_item_is_homogeneous): cache max_homogeneous_pixels
instead of re-calculating for each item.
(gtk_toolbar_size_allocate): Update comments
Soeren Sandmann [Thu, 30 Oct 2003 22:39:11 +0000 (22:39 +0000)]
Only include placeholders when include_internals is TRUE.
Thu Oct 30 22:04:31 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_forall): Only include
placeholders when include_internals is TRUE.
Soeren Sandmann [Thu, 30 Oct 2003 17:08:49 +0000 (17:08 +0000)]
Make it work even when item 0 is a placeholder. (#125826) add an assertion
Thu Oct 30 17:57:53 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make it work even when
item 0 is a placeholder. (#125826)
* tests/testtoolbar.c: add an assertion that
gtk_toolbar_get_nth_item (0) != NULL
Soeren Sandmann [Thu, 30 Oct 2003 16:50:11 +0000 (16:50 +0000)]
Make it work for logical == 0.
Thu Oct 30 17:40:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make it work for
logical == 0.
Soeren Sandmann [Thu, 30 Oct 2003 15:30:24 +0000 (15:30 +0000)]
Make sure we actually return the index of a real item. (get_nth_item)
Thu Oct 30 16:20:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (logical_to_physical): Make sure we actually
return the index of a real item.
(get_nth_item) assert that the returned items is not a
placeholder. (#125826, Marco Pesenti Gritti).
Federico Mena Quintero [Wed, 29 Oct 2003 23:10:57 +0000 (23:10 +0000)]
Only paint a separator if the text is NULL, rather than also doing it if
2003-10-29 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkcellrendererseptext.c
(gtk_cell_renderer_sep_text_render): Only paint a separator if the
text is NULL, rather than also doing it if it is an empty string.
Owen Taylor [Wed, 29 Oct 2003 20:43:58 +0000 (20:43 +0000)]
Allow NULL for message_format, as described in the docs and as worked
Wed Oct 29 15:40:26 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmessagedialog.c (gtk_message_dialog_new/
gtk_message_dialog_new_with_format): Allow NULL
for message_format, as described in the docs and
as worked previously. (#125759, Richard Hult)
* gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup):
Use g_markup_vprintf_escaped() to escape argumetns.
* gtk/gtkmessagedialog.[ch]: Add gtk_message_dialog_set_markup()
so there is some way to set literal markup.
Owen Taylor [Wed, 29 Oct 2003 20:05:40 +0000 (20:05 +0000)]
Move the call to gdk_error_trap_pop() to the right place, fixing a problem
Wed Oct 29 15:01:32 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): Move
the call to gdk_error_trap_pop() to the right place,
fixing a problem where we'd pop() too many times
when bailing out. (#123302, Thomas Leonard)
Owen Taylor [Wed, 29 Oct 2003 17:53:56 +0000 (17:53 +0000)]
Fix infinite recursion. (#125679, Christian Persch)
Wed Oct 29 12:50:02 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilechooserutils.c (delegate_set_current_folder):
Fix infinite recursion. (#125679, Christian Persch)
GMT 2003 Tony Gale [Wed, 29 Oct 2003 13:31:21 +0000 (13:31 +0000)]
further 2.x updates: mirrors,compiling,g_main_context_iteration
Wed Oct 29 13:29:15 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: further 2.x updates:
mirrors,compiling,g_main_context_iteration
Åsmund Skjæveland [Wed, 29 Oct 2003 12:37:13 +0000 (12:37 +0000)]
Updated Norwegian Nynorsk translation. Resolved a number of CVS conflicts.
2003-10-29 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation. Resolved a number
of CVS conflicts.
Soeren Sandmann [Wed, 29 Oct 2003 01:58:38 +0000 (01:58 +0000)]
Add this function; remove gtk_toolbar_highlight_drop_location() and
Wed Oct 29 02:54:35 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this
function; remove gtk_toolbar_highlight_drop_location() and
gtk_toolbar_unhighlight_drop_location().
Also fix bug where the number of overflowed items were miscounted.
Owen Taylor [Tue, 28 Oct 2003 17:30:03 +0000 (17:30 +0000)]
Remove some accidentally committed duplicate code.
Tue Oct 28 12:20:16 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_has_toplevel_focus): Remove
some accidentally committed duplicate code.
GMT 2003 Tony Gale [Tue, 28 Oct 2003 17:07:45 +0000 (17:07 +0000)]
Update info on compiling GTK+
Tue Oct 28 17:06:17 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Update info on compiling GTK+
Owen Taylor [Tue, 28 Oct 2003 15:43:43 +0000 (15:43 +0000)]
Add getters corresponding to the is_active and has_toplevel_focus
Tue Oct 28 10:34:24 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.[ch] (gtk_window_is_active,
gtk_has_toplevel_focus): Add getters corresponding to
the is_active and has_toplevel_focus properties.
(#122531)
Mark McLoughlin [Tue, 28 Oct 2003 15:32:21 +0000 (15:32 +0000)]
hook up the destroy handler. (gtk_expander_destroy),
2003-10-28 Mark McLoughlin <mark@skynet.ie>
* gtk/gtkexpander.c:
(gtk_expander_class_init): hook up the destroy handler.
(gtk_expander_destroy), (gtk_expander_unrealize):
remove the expand/collapse timeout on destroy instead
of unrealize to avoid leaving the expander in a inconsistent
state when unrealizing during animation.
(gtk_expander_start_animation): remove realized check.
(gtk_expander_set_expanded): if the widget isn't realized,
expand immediately.
Owen Taylor [Tue, 28 Oct 2003 14:48:31 +0000 (14:48 +0000)]
Silently do nothing when recipient is NULL, as described in the doc
Tue Oct 28 09:44:16 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
do nothing when recipient is NULL, as described in the
doc comment. (#123107, Thomas Leonard)
Owen Taylor [Tue, 28 Oct 2003 14:23:28 +0000 (14:23 +0000)]
Move docs inline, rewrite docs, mention memory management for the return
Tue Oct 28 09:21:29 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_check_version): Move docs inline,
rewrite docs, mention memory management for the return
value. (Partly addresses #125549, Michael Natterer)
Padraig O'Briain [Tue, 28 Oct 2003 14:13:01 +0000 (14:13 +0000)]
Changew index to filter_index to fix compilation error.
2003-10-28 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
Changew index to filter_index to fix compilation error.
* gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.
Manish Singh [Mon, 27 Oct 2003 23:50:34 +0000 (23:50 +0000)]
#include <X11/extensions/Xrandr.h> if we have RandR support, for
Mon Oct 27 15:47:58 2003 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if
we have RandR support, for XRRUpdateConfiguration declaration.
* gtk/gtkfilefilter.c: #include "gtkprivate.h" for _gtk_fnmatch
declaration.
* gtk/gtkuimanager.c (gtk_ui_manager_add_ui_from_file): Make
length a gsize variable, since that's what g_file_get_contents()
expects.
Manish Singh [Mon, 27 Oct 2003 23:41:12 +0000 (23:41 +0000)]
shut up cvs
Owen Taylor [Mon, 27 Oct 2003 17:19:51 +0000 (17:19 +0000)]
Fix attribution for above/below EWMH work.
Mon Oct 27 12:18:49 2003 Owen Taylor <otaylor@redhat.com>
* NEWS: Fix attribution for above/below EWMH work.
KAMAGASAKO Masatoshi [Mon, 27 Oct 2003 15:52:55 +0000 (15:52 +0000)]
Updated Japanese translation.
2003-10-28 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
* ja.po: Updated Japanese translation.
Matthias Clasen [Sat, 25 Oct 2003 21:34:24 +0000 (21:34 +0000)]
Add "name" as a construct-only property. (#125475, Murray Cumming)
Sat Oct 25 23:30:13 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_class_init): Add "name"
as a construct-only property. (#125475, Murray Cumming)
Soeren Sandmann [Sat, 25 Oct 2003 20:30:54 +0000 (20:30 +0000)]
Add bug numbers to ChangeLog
Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk>
Fix bug 116297 and 125472
* gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
this function take an index and a GtkToolItem.
* tests/testtoolbar.c (main): Make "Show Arrow" default to
true. Make one of the separators !draw and expand.
Update for new highlight_drop_location() API.
* gtk/gtktoolitem.[ch]: Remove "pack_end" property
* gtk/gtktoolbar.h: Formatting fixes.
* gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
separator tool items to expand.
(logical_to_physical, physical_to_logical): Fix off-by-one errors
(Fix #125472, Marco Pesenti Gritti)
* gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
(gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
return FALSE, not TRUE.
(gtk_separator_too_item_{set|get}_property,
(gtk_separator_tool_item_{set|get}_draw): new functions
Søren Sandmann Pedersen [Sat, 25 Oct 2003 19:59:31 +0000 (19:59 +0000)]
Broken pipe
Soeren Sandmann [Sat, 25 Oct 2003 19:58:51 +0000 (19:58 +0000)]
Make this function take an index and a GtkToolItem.
Thu Oct 23 21:55:10 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
this function take an index and a GtkToolItem.
* tests/testtoolbar.c (main): Make "Show Arrow" default to
true. Make one of the separators !draw and expand.
Update for new highlight_drop_location() API.
* gtk/gtktoolitem.[ch]: Remove "pack_end" property
* gtk/gtktoolbar.h: Formatting fixes.
* gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
separator tool items to expand.
(logical_to_physical, physical_to_logical): Fix off-by-one errors
(Fix #125472, Marco Pesenti Gritti)
* gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
(gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
return FALSE, not TRUE.
(gtk_separator_too_item_{set|get}_property,
(gtk_separator_tool_item_{set|get}_draw): new functions
Owen Taylor [Fri, 24 Oct 2003 22:16:07 +0000 (22:16 +0000)]
=== Released 2.3.0 ===
Fri Oct 24 16:54:04 2003 Owen Taylor <otaylor@redhat.com>
* === Released 2.3.0 ===
* configure.in: Remove a stray comma.
* README.in: Fix a few notes about Xft 1 and pango-1.0.
* NEWS: Finish updates for 2.3.0.
* po/Makefile.in.in: Update to latest GLib version.
Owen Taylor [Fri, 24 Oct 2003 20:03:37 +0000 (20:03 +0000)]
Relicense to be dual AFL/LGPL (and thus also GPL) rather than AFL/GPL.
Fri Oct 24 16:02:32 2003 Owen Taylor <otaylor@redhat.com>
* *.[ch]: Relicense to be dual AFL/LGPL (and thus also
GPL) rather than AFL/GPL. Also update AFL version to 1.2.